package com.erms.bean;

/**
 * Course entity. @author MyEclipse Persistence Tools
 */

public class Course implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long	serialVersionUID	= -7586255626586306555L;
	private String		id;
	private Department	department;
	private String		name;
	private Float		grade;
	private String		introduction;

	// Constructors

	/** default constructor */
	public Course() {

	}

	/** minimal constructor */
	public Course(String id, Department department, String name, Float grade) {

		this.id = id;
		this.department = department;
		this.name = name;
		this.grade = grade;
	}

	/** full constructor */
	public Course(String id, Department department, String name, Float grade,
			String introduction) {

		this.id = id;
		this.department = department;
		this.name = name;
		this.grade = grade;
		this.introduction = introduction;
	}

	// Property accessors

	public String getId() {

		return this.id;
	}

	public void setId(String id) {

		this.id = id;
	}

	public Department getDepartment() {

		return this.department;
	}

	public void setDepartment(Department department) {

		this.department = department;
	}

	public String getName() {

		return this.name;
	}

	public void setName(String name) {

		this.name = name;
	}

	public Float getGrade() {

		return this.grade;
	}

	public void setGrade(Float grade) {

		this.grade = grade;
	}

	public String getIntroduction() {

		return this.introduction;
	}

	public void setIntroduction(String introduction) {

		this.introduction = introduction;
	}

}
